import { http } from '@/utils/http';
const request = http.request
const UserAPI = {
    getPage(queryParams) {
        return request({
            url: `users/page`,
            method: "get",
            params: queryParams,
        });
    },
    add(data) {
        return request({
            url: `users/add`,
            method: "post",
            data,
        });
    }

};

export default UserAPI;

